package cn.edu.buaa.sei.jdat;

public final class Utility {
	public static String getPackageName(String signature) {
		return signature.substring(0, signature.lastIndexOf('.'));
	}
	
	public static String getTypeName(String signature) {
		return signature.substring(signature.lastIndexOf('.') + 1);
	}
}
